package ModelLayer;

public class Vare {
	
	private int artikelNr;
	private int vaegt;
	private float pris;
	private String vareGruppe;
	private String placering;
	private int antal;
	
	/**
	 * Creates the constructor of a Vare and sets its attributes
	 * equal to the param in the following way.
	 * @param int artikel nr, int vaegt, float pris, String vareGruppe, String placering, int antal
	 * */
	public Vare(int an, int v, float p, String vg, String pl, int antal)
	{
		this.artikelNr = an;
		this.vaegt = v;
		this.pris = p;
		this.vareGruppe = vg;
		this.placering = pl;
		this.antal = antal;
	}
	
	/**
	 * set and get artikelNr
	 * @param int artikelNr
	 * */
	public void setArtikelNr(int an)
	{
		this.artikelNr = an;
	}
	public int getArtikelNr()
	{
		return this.artikelNr;
	}
	/**
	 * Set and get vaegt
	 * @param int vaegt
	 * */
	public void setVaegt(int v)
	{
		this.vaegt = v;
	}
	public int getVaegt()
	{
		return this.vaegt;
	}
	/**
	 * Set and get pris
	 * @param float pris
	 * */
	public void setPris(float p)
	{
		this.pris = p;
	}
	public float getPris()
	{
		return this.pris;
	}
	/**
	 * set and get vareGruppe
	 * @param String vareGruppe
	 * */
	public void setVareGruppe(String vg)
	{
		this.vareGruppe = vg;
	}
	public String getVareGruppe()
	{
		return this.vareGruppe;
	}
	/**
	 * set and get placering
	 *@param String placering 
	 * */
	public void setPlacering(String p)
	{
		this.placering = p;
	}
	public String getPlacering()
	{
		return this.placering;
	}
	/**
	 * set get antal that the DelSalg class can use
	 * @param int antal 
	 * */
	public void setAntal(int an)
	{
		this.antal = an;
	}
	/**
	 * get antal
	 * */
	public int getAntal()
	{
		return this.antal;
	}
}
